import { POST, UPLOAD } from "../../services/request"

const Product = {
    ProductIndex(data = {})
    {
        return POST({
            url:'/product/product/index',
            params:data
        });
    },
    ProductInfo(data = {})
    {
        return POST({
            url:'/product/product/info',
            params:data
        });
    },
    // Collection(data = {})
    // {
    //     return POST({
    //         url:'/product/product/collection',
    //         params:data
    //     });
    // },
    ProductCollection(data = {})
    {
        return POST({
            url:'/product/product/collection',
            params:data
        });
    },

    TypeIndex(data = {})
    {
        return POST({
            url:'/product/type/index',
            params:data
        });
    },
    
    TypeProduct(data = {})
    {
        return POST({
            url:'/product/type/product',
            params:data
        });
    },
    ProductComment(data = {})
    {
        return UPLOAD({
            url:'/product/product/comment',
            params:data
        });
    }


}

export default Product;